﻿using System;

namespace HelloWindowsPhoneMVC.Services
{
    /// <summary>
    /// These classes are for testing the performance of the IoC container on the phone
    /// </summary>
    public class A2 : IA2
    {
         public A2(IB2 b, IC2 c)
         {
             
         }
    }

    public class B2 : IB2
    {
        public B2(ID2 d)
        {
            
        }
    }

    //A and C have a circular dependency
    public class C2 : IC2
    {
        public C2(Func<IA2> aFactory)
        {

        }
    }

    public class D2 : ID2
    {
        public D2(IE2 e)
        {

        }
    }

    public class E2 : IE2
    {
        public E2()
        {

        }
    }

    public interface IE2
    {
    }

    public interface ID2
    {
    }


    public interface IC2
    {
    }

    public interface IB2
    {
    }

    public interface IA2
    {
    }
}